package com.me.study.javaBasic.accessModifier.packg1;

/**
 * 访问修饰符测试：父类
 *
 * @author ME
 * @date   2020/5/20
 */
public class ClassParent {

    /** public 修饰符 */
    public String publicStr;
    public String getPublicStr() {
        return publicStr;
    }

    /** protected 修饰符 */
    protected String protectedStr;
    protected String getProtectedStr() {
        return protectedStr;
    }

    /** default 修饰符 */
    String defaultStr;
    String getDefaultStr() {
        return defaultStr;
    }

    /** private 修饰符 */
    private String privateStr;
    private String getPrivateStr() {
        return privateStr;
    }

}
